﻿<ion-view view-title="注册" hide-nav-bar="false">
    <ion-content>
        <div style="padding:30px">
            <img src="img/demo/photo_default_user.jpg" style="margin:0 auto;display:block;width:100px;border-radius:50px" />
        </div>
        <div class="list" >
            <div class="item item-input" style="border-color:#f8f8f8">
                <span class="input-label">手机号</span>
                <input type="tel" ng-model="vm.mobile" placeholder="请输入手机号">
            </div>

            <div class="item item-input" style="border-color:#f8f8f8">
                <span class="input-label">验证码</span>
                <input type="text" ng-model="vm.verify_code" placeholder="请输入验证码">
                <button ng-click="getRegisterCode()" class="button button-calm" style="margin-right:60px;width:50%">{{vm.waitSeconds}}</button>
            </div>
            <div class="item item-input" style="border-color:#f8f8f8">
                <span class="input-label">密&nbsp;&nbsp;&nbsp;&nbsp;码</span>
                <input type="password" ng-model="vm.password" placeholder="密码(6位以上数字和字母)">
            </div>
            <div class="padding">
                <div style="text-align:center;color:darkgrey"><input type="checkbox"/><span style="padding-left:5px">阅读并同意</span> <a class="calm" style="padding-left:5px">《注册协议》</a></div>
                <button class="button button-block button-calm" ng-click="next()">注册</button>
                <div style="text-align:center;color:darkgrey">已有帐号？<a ui-sref="login" class="calm">返回登录</a></div>
            </div>
        </div>
       
    </ion-content>
</ion-view>